package com.qidianit.mes.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.qidianit.mes.pojo.*;

import java.util.ArrayList;

@Mapper
public interface WorkstationMapper extends BaseMapper<Workstation> {

    ArrayList<Workstation> selectByProcessId(Long processId);
    Workstation selectWorkstationByCode(String code);
    ArrayList<Workstation> selectByCodeOrName(Workstation workstation);
    ArrayList<Workstation> selectWorkstation(Workstation workstation);
}